home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / daten / xmgr / examples / dotest < prev    next >
Text File  |  1995-02-05  |  3KB  |  142 lines

  1. #!/bin/csh
  2. # demos for ACE/gr
  3. #
  4. setenv BCflag  ' '
  5.  
  6. # define the location
  7. #
  8. setenv ACEGR ../xmgr
  9.  
  10. echo $BCflag
  11.  
  12. # command line parameters
  13. $ACEGR -usage
  14. sleep 3
  15. # XView command line parameters
  16. $ACEGR -help
  17. sleep 3
  18. #
  19. # explain the row of single character buttons and a few other things
  20. $ACEGR explain.par $BCflag
  21. #
  22. # display the various axes available
  23. $ACEGR -p axes.par $BCflag
  24. #
  25. # display the symbols and line styles
  26. $ACEGR symslines.dat $BCflag
  27. #
  28. # display more symbols
  29. $ACEGR moresyms.dat $BCflag
  30. #
  31. # display various fill styles
  32. $ACEGR fills.dat $BCflag
  33. #
  34. # some graph stuff and ticks
  35. $ACEGR -p graphs.par $BCflag
  36. #
  37. # some graph stuff and ticks
  38. $ACEGR -p props1.par $BCflag
  39. #
  40. # demonstration of many graphs
  41. $ACEGR -maxgraph 36 manygraphs.d $BCflag
  42. #
  43. # some graph stuff and ticks
  44. $ACEGR brw.dat -p regions.par $BCflag
  45. #
  46. # test of a graph inset
  47. $ACEGR tinset.d $BCflag
  48. #
  49. # some time and date formats
  50. $ACEGR times.dat $BCflag
  51. #
  52. # some more tick label formats
  53. $ACEGR -p tforms.par $BCflag
  54. #
  55. # some more tick label formats
  56. $ACEGR au.d $BCflag
  57. #
  58. # display fonts and font mappings
  59. $ACEGR -p tfonts.par $BCflag
  60. #
  61. # example of world stack
  62. $ACEGR tstack.dat $BCflag
  63. #
  64. # a graph with a parameter file
  65. $ACEGR -p test1.par -a xy test.dat $BCflag
  66. #
  67. # a graph with a parameter file in reverse video
  68. $ACEGR -rvideo -p test1.par -a xy test.dat $BCflag
  69. #
  70. $ACEGR test2.d $BCflag
  71. #
  72. # multiple graphs with a parameter file
  73. $ACEGR mlo.dat -graph 1 brw.dat -p co2.par $BCflag
  74. #
  75. # multiple graphs created with arrange feature
  76. # $ACEGR co2.all0.dat -graph 1 1.dat -graph 2 2.dat -graph 3 3.dat -graph 4 4.dat -p co2-3.par $BCflag
  77. $ACEGR co2.all $BCflag
  78. #
  79. # a graph with alternate axes
  80. $ACEGR -p altaxis.par test.dat -a xy $BCflag
  81. #
  82. # a graph with error bars
  83. $ACEGR terr.d $BCflag
  84. #
  85. # another graph with error bars
  86. $ACEGR terr2.d $BCflag
  87. #
  88. # a graph with XY RADIUS format
  89. $ACEGR txyr.dat $BCflag
  90. #
  91. # a graph with hilo data
  92. $ACEGR hilo.dat $BCflag
  93. #
  94. # log plots
  95. $ACEGR -p logtest.par log.d -graph 1 log.d $BCflag
  96. #
  97. # more log plots
  98. $ACEGR tlog.demo $BCflag
  99. #
  100. # non-linear curve fitting
  101. $ACEGR logistic.d $BCflag
  102. #
  103. # bar charts
  104. #
  105. # display all types of bar graphs
  106. $ACEGR bars.d $BCflag
  107. #
  108. # a bar graph demonstrating specified ticks and tick labels
  109. $ACEGR bar.d $BCflag
  110. #
  111. # a bar graph demonstrating specified ticks and tick labels
  112. $ACEGR bar2.d $BCflag
  113. #
  114. # a bar graph demonstrating patterns
  115. $ACEGR tbar3.dat $BCflag
  116. #
  117. # a stacked bar graph
  118. $ACEGR stackedb.d $BCflag
  119. #
  120. # a slideshow demo
  121. $ACEGR -pipe $BCflag < slideshow.d
  122. #
  123. # need a program
  124. # modified from previous versions, a thank you goes to Bruce Barnett
  125. # this modification allows others without write permission
  126. # to run the demos.
  127. #
  128. echo ""
  129. if ( ! -f tmc ) then
  130.       echo ""
  131.       echo "Compiling a short program to test the -pipe option"
  132.       echo "Executing 'cc tmc.c -o tmc -lm'"
  133.       cc tmc.c -o tmc -lm
  134.       echo "Done compilation"
  135.       echo ""
  136. endif
  137.  
  138. #
  139. # a graph with the -pipe option
  140. echo "Testing -pipe option, executing './tmc | $ACEGR -pipe' "
  141. ./tmc | $ACEGR -pipe $BCflag
  142.